<?php
namespace App\Tools\Traits;


use DateTimeInterface;
use Illuminate\Support\Arr;

trait HasPaymentTypeTrait
{
    public function getPaymentTypeCN()
    {
        return $this->payment_type ? Arr::get(self::PAYMENT_TYPE_MAP, $this->payment_type) : null;
    }
}
